package com.ruoyi.wms.domain.vo;

import java.util.Date;

import com.ruoyi.wms.domain.entity.partolStore.RepairRecords;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.excel.annotation.ExcelDictFormat;
import com.ruoyi.common.excel.convert.ExcelDictConvert;
import lombok.Data;
import io.github.linpeilie.annotations.AutoMapper;

import java.io.Serializable;
import java.io.Serial;

/**
 * 维修记录视图对象 repair_records
 *
 * @author xhr
 * @date 2024-12-04
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = RepairRecords.class)
public class RepairRecordsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 设备id
     */
    @ExcelProperty(value = "设备id")
    private Long equipmentId;

    /**
     * 报修时间
     */
    @ExcelProperty(value = "报修时间")
    private Date repairTime;

    /**
     * 报修状态
     */
    @ExcelProperty(value = "报修状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "repair_status")
    private Long repairStatus;

    /**
     * 报修人
     */
    @ExcelProperty(value = "报修人")
    private String repairer;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String context;


}
